package com.tensquare.article;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: xxx
 * @Date: 2022/11/6 15:20
 * @Description: 文章服务启动器
 */
//Mapper扫描mapper组件
@MapperScan({"com.tensquare.article.mapper"})
@SpringBootApplication
@EnableEurekaClient
//开启Feign客户端
@EnableFeignClients
public class ArticleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class,args);
    }
}
